export const tableOption = {
    border: true,
    index: true,
    indexLabel: '序号',
    stripe: true,
    menuAlign: 'center',
    align: 'center',
    menu: true,
    viewBtn: true,
    selection:true,
    column: [{
        type: "input",
        label: "唯一标识",
        prop: "id",
        hide: true,
        addDisplay: false,
        editDisplay: false,
        viewDisplay: false
    }, {
        "type": "select",
        "label": "票种",
        "prop": "ticketType",
        search: true,
        dicUrl: '/support/swpmticketcardtype/dict',
        props: {
            label: 'mainName',
            value: 'mainEnName'
        },
        cascaderItem: ["ticketName"],
        rules: [{
            required: true,
            message: '请选择票种',
            trigger: 'blur'
          }]
    }, {
        "type": "select",
        "label": "车票名称",
        "prop": "ticketName",
        search: true,
        props: {
            label: 'subName',
            value: 'subEnName'
        },
        dicUrl: '/support/swpmticketcardtypeparam/dictAll/{{key}}',
        dicFlag: false,
        rules: [{
            required: true,
            message: '请选择车票名称',
            trigger: 'blur'
          }]
    }, {
        type: "input",
        label: "订单号",
        prop: "orderNo",
        rules: [{
            required: true,
            message: '请输入订单号',
            trigger: 'blur'
          }]
    }, {
        type: "input",
        label: "订单号段",
        prop: "orderNoArea",
        rules: [{
            required: true,
            message: '请输入订单号段',
            trigger: 'blur'
          }]
    }, {
        type: "number",
        label: "订单票卡数量",
        prop: "orderNumber",
        rules: [{
            required: true,
            message: '请输入订单票卡数量',
            trigger: 'blur'
          }]
    }, {
        type: "input",
        label: "芯片厂家",
        prop: "chipProduct",
        rules: [{
            required: true,
            message: '请输入芯片厂家',
            trigger: 'blur'
          }]
    }, {
        type: 'date',
        label: '下发时间',
        prop: 'sendDate',
        search: true,
        format: 'yyyy-MM-dd',
        valueFormat: 'yyyy-MM-dd',
        rules: [{
            required: true,
            message: '请选择下发时间',
            trigger: 'blur'
          }]
    }, {
        type: "input",
        label: "下发人",
        prop: "sendPerson",
        component: "user-select",
        params: {
          userCodeKey: "sendPersonId"
        },
        rules: [{
            required: true,
            message: '请选择下发人',
            trigger: 'blur'
          }]
    }, {
        type: "textarea",
        label: "下发原因",
        prop: "sendReason",
        rules: [{
            required: true,
            message: '请输入下发原因',
            trigger: 'blur'
          }]
    }, {
        type: "textarea",
        label: "备注",
        prop: "remark"
    },{
        dataType: 'string',
        "type": "upload",
        "label": "普通附件",
        "prop": "filePath",
        component: "zd-upload",
        hide: true,
        limit: 1,
        span:20,
      }, {
        dataType: 'string',
        "type": "upload",
        "label": "图片附件",
        "prop": "picturePath",
        listType: 'picture-img',
        component: "zd-upload",
        hide: true,
        limit: 1
      }]
};

